package com.fast.admin.service.sys;

import com.fast.admin.entity.sys.Role;
import com.fast.common.base.service.IBaseService;

import java.util.List;

public interface IRoleService extends IBaseService<Role> {

    /**
     * 添加或修改
     * @param role
     */
    void addOrUpdate(Role role);

    List<Role> selectByUserId(Long userId);
}
